package com.kangfu.api.service.impl;

import com.kangfu.api.service.IOperationGuideService;
import com.kangfu.db.domain.entity.OperationGuide;
import com.kangfu.db.mapper.OperationGuideMapper;
import com.kangfu.db.model.vo.OperationGuideVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OperationGuideServiceImpl implements IOperationGuideService {

    @Autowired
    private OperationGuideMapper operationGuideMapper;

    @Override
    public List<OperationGuideVo> getList() {
        return operationGuideMapper.selectOperationGuideList();
    }

    @Override
    public OperationGuide info(Integer id) {
        return operationGuideMapper.selectOperationGuideById(id);
    }
}
